<?php

namespace App\Modules\Relationship\Interfaces;


interface ModelInterface
{
    // 获取用户关系分表记录
    public function getRecord (int $userId, int $friendId);

    public function createRecord (array $data);

    public function updateRecord (array $ids, array $data);

    public function deleteRecord (array $ids);

    public function addIntimate (int $id, int $intimate);
}